#include <stdio.h>
#include <unistd.h>

int main(int argc, char const *argv[])
{
    printf( "start execlp\n" );
    execlp( "ls", "ls", ".", NULL );
    printf( "end\n" );
    return 0;
}

/*
程序功能
    测试exec函数族

    echo $PATH

*/